﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Styles/Admin.master" AutoEventWireup="true" CodeFile="modify.aspx.cs" Inherits="Administration_content_add" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="form">
        <asp:HiddenField ID="NavigationFormId" runat="server" />
        <asp:HiddenField ID="NavigationFormPosition" runat="server" />
        <asp:Label ID="Label1" runat="server" Text="Title:"></asp:Label>
        <br />
        <asp:TextBox runat="server" ID="NavigationFormName" CausesValidation="True" MaxLength="15"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="NavigationFormName" Display="Dynamic" 
            ErrorMessage="Name has to be typed in" ForeColor="Red"></asp:RequiredFieldValidator>
        <br />
        
        <br />
        <br />
        <asp:Button ID="InsertButton" runat="server" Text="Create" OnClick="Insert" Visible="false"/>
        <asp:Button ID="UpdateButton" runat="server" Text="Update" OnClick="Update" Visible="false"/>
    </div>
</asp:Content>